package com.iotechn.unimall.data.dto.warehouse;

import com.iotechn.unimall.data.domain.FinancePayableDO;
import com.iotechn.unimall.data.domain.FinancePayableLogDO;
import com.iotechn.unimall.data.dto.SuperDTO;
import com.iotechn.unimall.data.dto.finance.FinancePayableLogDTO;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 入库单
 */
@Data
public class PurchaseWarehouseOrderDTO extends SuperDTO {

    /**
     * 库id
     */

    private Long warehouseId;
    /**
     * 入库单编号
     */

    private String warehouseOrderNo;
    /**
     * 类型0待入库1已入库
     */

    private Integer warehouseOrderState;
    /**
     * 备注其他信息
     */

    private String warehouseOrderInfo;
    /**
     *
     */

    private Long adminId;
    /**
     * 商品总价
     */

    private Float warehouseOrderGoodsAmount;
    /**
     * 税价格
     */

    private Long warehouseOrderTax;
    /**
     * 订单金额
     */

    private Float warehouseOrderAmount;
    /**
     * 优惠金额
     */

    private Float warehouseOrderConpon;
    /**
     * 支付方式
     */

    private String warehouseOrderPaymentCode;

    /**
     * 供应商id
     */

    private Long supplierId;
    /**
     * 供应商联系人
     */

    private String supplierContacts;
    /**
     * 手机号码
     */

    private String supplierPhone;

    /**
     * 总额
     */
    private Float totalPrice;

    /**
     * 总件数
     */
    private Float total;

    /**
     * 入库商品
     */
    private List<PurchaseWarehouseOrderGoodsDTO> purchaseWarehouseOrderGoodsDTOS;



    /**
     * 供应商名称
     */

    private String supplierName;

    /**
     * 入库数量
     */

    private Float warehouseOrderGoodsCount;
    /**
     * 入库时间
     */

    private Date warehouseOrderInsertTime;


    /**
     * 审批意见
     */
    private String warehouseOrderAuditComment;


    private String adminRealname;

    /**
     * 库房名称
     */
    private String warehouseName;
    /**
     * 回款记录
     */
    private  List<FinancePayableDO>  financePayableList;

/**
 * 操作日志
 */
private  List<PurchaseWarehouseOperLogDTO> purchaseWarehouseOperLogDTOS;

    /**
     * 付款记录
     */
    private  List<FinancePayableLogDTO>  financePayableLogDTOs;
    /**
     * 付款日志
     */
    private  List<FinancePayableLogDO> financePayableLogDOList;

    private String warehouseOrderConfirmRealname;

    /**
     * 入库确认人ID
     */
    private Long warehouseOrderConfirmUserId;
}
